/*************************************************************************
 *
 * $Id: locate.h 69 2006-08-03 11:32:05Z alpov $
 * 
 *************************************************************************/         

#if (DISPLAY == 1602)
#define MSG_MAIN_TEMP       "%s %d.%d\007\n"
#define MSG_MAIN_STATE1     "Stav 0x%02X 0x%04X\n"
#define MSG_MAIN_STATE2     "           %02d:%02d\n"
#define MSG_SHIFT_TIMED     "Okamzita zmena\n%+d\007 na %d0min"
#define MSG_SHIFT_STATIC    "Okamzita zmena\n%+d\007 do zruseni"
#define MSG_MODE            "Rezim regulace\n%s"
#define MSG_RTC             "Hodiny\n%d.%d.2%03d %02d:%02d"
#define MSG_SWITCH_ON       "Prepnuti na %.4s\n%d.%d.2%03d %02d:%02d"
#define MSG_SWITCH_OFF      "Prepnuti rezimu\nNeaktivni"
#define MSG_CONFIG          "Nastaveni\nID:%d Kon:%d R:%c"
#define MSG_MESSAGE_STR     "Hlaseni\n%S"
#define MSG_MESSAGE_ID      "Hlaseni\n  *** %03d ***"

#elif (DISPLAY == 2004)
#define MSG_MAIN_TEMP       "%s %d.%d\007\n"
#define MSG_MAIN_STATE1     "Stav 0x%02X 0x%04X\n"
#define MSG_MAIN_STATE2     "               %02d:%02d\n"
#define MSG_SHIFT_TIMED     "Okamzita zmena\n--------------\n%+d\007 na %d0min"
#define MSG_SHIFT_STATIC    "Okamzita zmena\n--------------\n%+d\007 do zruseni"
#define MSG_MODE            "Rezim regulace\n--------------\n%s"
#define MSG_RTC             "Hodiny\n------\n%d.%d.2%03d %02d:%02d"
#define MSG_SWITCH_ON       "Prepnuti rezimu\n---------------\nna %s\n%d.%d.2%03d %02d:%02d"
#define MSG_SWITCH_OFF      "Prepnuti rezimu\n---------------\nNeaktivni"
#define MSG_CONFIG          "Nastaveni\n---------\nID:%d Kontrast:%d\nReset terminalu:%c"
#define MSG_MESSAGE_STR     "Hlaseni\n-------\n%S"
#define MSG_MESSAGE_ID      "Hlaseni\n-------\n    *** %03d ***"

#endif

#define MSG_YES             'a'
#define MSG_NO              'n'

#define MSG_INIT            0x80
#define MSG_INIT_STR        "Inicializace..."
#define MSG_COMERR          0x81
#define MSG_COMERR_STR      "Chyba komunikace"
#define MSG_INITERR         0xC0
#define MSG_INITERR_STR     "Selhani initu"

// 0x00..0x7F nic
// 0x80..0xBF pipnuti
// 0xC0..0xFF pipani
